<%@page contentType="text/html; charset=utf-8"%>
<!DOCTYPE html>
<html>
<head>
    <title>创业武汉合伙人</title>
    <%@include file="common/header.jsp"%>
    </head>
<body>
<!-- page 容器 -->
<div class="page">
    <!-- 标题栏 -->
    <header class="bar bar-nav bgcolor nobottom">
        <button class="button button-link button-nav whitecolor pull-left" href="javaScript:history.go(-1);">
            <span class="icon icon-left"></span>
        </button>
        <h1 class="title whitecolor">导师信息审核</h1>
    </header>

    <!-- 这里是页面内容区 -->
    <div class="content whitebg infinite-scroll" data-distance="100" >
        <div class="contentList" data-totalPage="${pager.totalPage}" data-pageNum="2">
            <c:forEach items="${pager.resultList}" var="dsEmp">
                <div class="tutor">
                <a class="toDetail" href="dsManageDetail.do?id=${dsEmp.id}">
                    <div class="tutor-left"><img class="iconUrl" src="${Dict.prefix('UPLOAD')}${dsEmp.iconUrl}" ></div>
                    <div class="tutor-center">
                        <div class=" row_nowrap empName"><strong>${dsEmp.empName}</strong></div>
                        <div class=" row_nowrap little_size gray"><span class="dwName">${dsEmp.dwName}</span> | <span class="zw">${dsEmp.zw}</span></div>
                    </div>
                </a>
                </div>
            </c:forEach>
        </div>
        <!-- preloader -->
        <c:if test="${pager.totalPage>=2}">
            <div class="infinite-scroll-preloader">
                <div class="preloader"></div>
            </div>
        </c:if>
    </div>
</div>

<%@include file="common/panel.jsp"%>
</body>
</html>
<%@include file="common/footer.jsp"%>
<script>
    $.init();
    var loading = false;
    
    var url = "dsPagerM.do?map.user_I=admin";
    
    function addItems(data,content) {
        $.each(data.resultList,function(){
            var obj = $(".contentList > .tutor").eq(0).clone();
            obj.find(".empName").text(this.empName);
            obj.find(".dwName").text(this.dwName);
            obj.find("zw").text(this.zw);
            obj.find(".toDetail").attr("href","${ctx}/m/dsManageDetail.do?id="+this.id);
            obj.find(".iconUrl").attr("src","${Dict.prefix('UPLOAD')}"+this.iconUrl);
            content.append(obj);
        });
        var pageNum = parseInt(content.attr("data-pageNum"))+1;
        content.attr("data-pageNum",pageNum);
    }


</script>
<%@include file="common/pager_inc.jsp"%>